package com.sun.audit.service;

/**
 * @author pytho
 */
public interface AuditLogService {

    /**
     * 保存审计日志
     *
     * @param tableName
     * @param recordId
     * @param operationType
     * @param operateColumn
     * @param oldValue
     * @param newValue
     */
    void saveAuditLog(
            String tableName,
            Object recordId,
            String operationType,
            String operateColumn,
            String oldValue,
            String newValue
    );

}
